package cj.web.admin.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

/**
 * 新锐排行
 */
public class Downloading extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = -3033066066138339462L;
	protected int id;
	protected String title;
	protected String content;
	protected String carouselImage;
	protected String type;
	protected String upFile;
	protected Integer orderNo;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAT;
	protected String updateUser;
	protected String updateAT;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCarouselImage() {
		return carouselImage;
	}
	public void setCarouselImage(String carouselImage) {
		this.carouselImage = carouselImage;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUpFile() {
		return upFile;
	}
	public void setUpFile(String upFile) {
		this.upFile = upFile;
	}
	public Integer getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAT() {
		return createAT;
	}
	public void setCreateAT(String createAT) {
		this.createAT = createAT;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAT() {
		return updateAT;
	}
	public void setUpdateAT(String updateAT) {
		this.updateAT = updateAT;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((carouselImage == null) ? 0 : carouselImage.hashCode());
		result = prime * result + ((content == null) ? 0 : content.hashCode());
		result = prime * result
				+ ((createAT == null) ? 0 : createAT.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + id;
		result = prime * result + ((orderNo == null) ? 0 : orderNo.hashCode());
		result = prime * result + ((title == null) ? 0 : title.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		result = prime * result + ((upFile == null) ? 0 : upFile.hashCode());
		result = prime * result
				+ ((updateAT == null) ? 0 : updateAT.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		Downloading other = (Downloading) obj;
		if (carouselImage == null) {
			if (other.carouselImage != null)
				return false;
		} else if (!carouselImage.equals(other.carouselImage))
			return false;
		if (content == null) {
			if (other.content != null)
				return false;
		} else if (!content.equals(other.content))
			return false;
		if (createAT == null) {
			if (other.createAT != null)
				return false;
		} else if (!createAT.equals(other.createAT))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (id != other.id)
			return false;
		if (orderNo == null) {
			if (other.orderNo != null)
				return false;
		} else if (!orderNo.equals(other.orderNo))
			return false;
		if (title == null) {
			if (other.title != null)
				return false;
		} else if (!title.equals(other.title))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		if (upFile == null) {
			if (other.upFile != null)
				return false;
		} else if (!upFile.equals(other.upFile))
			return false;
		if (updateAT == null) {
			if (other.updateAT != null)
				return false;
		} else if (!updateAT.equals(other.updateAT))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "Downloading [id=" + id + ", title=" + title + ", content="
				+ content + ", carouselImage=" + carouselImage + ", type="
				+ type + ", upFile=" + upFile + ", orderNo=" + orderNo
				+ ", deleteFlag=" + deleteFlag + ", createUser=" + createUser
				+ ", createAT=" + createAT + ", updateUser=" + updateUser
				+ ", updateAT=" + updateAT + "]";
	}
}
